<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title></title>
</head>
<body>
    {if $info['type'] == 2}
    <video id="myVideo" class="video-js" controls preload="auto" width="800px" height="500px">
        <source src="{$info['content']}" type="video/mp4">
        <source src="{$info['content']}" type="video/webm">
        <source src="{$info['content']}" type="video/ogg">
        <source src="{$info['content']}" type="application/x-mpegURL">
        <p class="vjs-no-js">您的浏览器不支持 HTML5 视频标签。</p>
    </video>
    {elseif $info['type'] == 1}
        {if $info['is_office'] == 1}
        <iframe src="https://view.officeapps.live.com/op/embed.aspx?src={:urlencode($info['content'])}" width="800px" height="500px" frameborder="0"></iframe>
        {else}
        <embed src="{$info['content']}" type="application/pdf" width="800px" height="500px" />
        {/if}
    {else /}
        <iframe src="{$info['content']}" width="800px" height="500px" frameborder="0"></iframe>
    {/if}
  <script>
    
  </script>
</body>
</html>